﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TresselLS
{
    public partial class DebugForm : Form
    {
        public DebugForm()
        {
            /*!
            Procedure Name: DebugForm
            Description: sets the form to its default display values
            Input Parameters: none
            Output Parameters: none
            Errors Conditions Tested:
            Error Messages Generated:
            Original Author: Steve Rudy
            Procedure Creation Date: 11/24/2009
            Modification Log:
            Coding standards met: SR
            Testing standards met: RM
            !*/
            InitializeComponent();
        }
        public void UpdateRegisters(string oAC, string oIR, string oBR, string oSTAT,string nAC, string nIR, string nBR, string nSTAT)
        {
            /*!
            Procedure Name: UpdateRegisters
            Description: sets the form to its default display values
            Input Parameters: string oAC, string oIR, string oBR, string oSTAT,string nAC, string nIR, string nBR, string nSTAT
            Output Parameters: none
            Errors Conditions Tested:
            Error Messages Generated:
            Original Author: Steve Rudy
            Procedure Creation Date: 11/24/2009
            Modification Log:
            Coding standards met: SR
            Testing standards met: RM
            !*/
            oACLabel.Text = oAC.PadLeft(6, '0');
            oIRLabel.Text = oIR.PadLeft(6, '0');
            oBALabel.Text = oBR.PadLeft(6, '0');
            oSTATLabel.Text = oSTAT.PadLeft(6, '0');
            nACLabel.Text = nAC.PadLeft(6,'0');
            nIRLabel.Text = nIR.PadLeft(6, '0');
            nBALabel.Text = nBR.PadLeft(6, '0');
            nSTATLabel.Text = nSTAT.PadLeft(6, '0');

        }
    }
}
